{% extends "base.html" %}
{% set active_page = "pool_stats" %}
{% set page_title = "Block List - Historical list of solved blocks" %}
{% block body %}

<br />
<div class="col-lg-12">
  <div class="bs-example table-responsive">
    <table class="table table-striped table-hover tablesorter" id="blockTable">
      <thead>
        <tr>
          <th>Cron Command</th>
          <th>Last Runtime</th>
          <th>Duration</th>
        </tr>
      </thead>
      <tbody>
        {% for command, data in stats.iteritems() %}
        <tr>
          <td>{{ command }}</td>
          <td>{{ data['time'] | human_date_utc }}</td>
          <td>{{ data['runtime'] | float | duration }}</td>
        </tr>
        {% endfor %}
      </tbody>
    </table>
  </div>
</div>
{% endblock %}
